package com.acme.bankapp.domain.bank;

public enum Gender{
	MALE(1), FEMALE(0);
	
	int type;
	
	Gender(int type){
		this.type = type;
	}
	
	public String toString() {
		String s= "";
		s = type == 1 ? "Mr." : "Ms.";
		return s;
	}
}
